<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登陆</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
    integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <link rel="stylesheet" href="/stylesheets/login.css">
</head>

<body class="bg-secondary bg-gradient">
    <div class="container mt-5 " style="position: absolute;top: 361px;left: 52px;">
        <div class="row ">
            <h2>请登录</h2>
        </div>
        <div class="row mt-5">
            <form  class="login-form" method="post">
                <div class="form-floating mb-3">
                    <input type="text" name="username" placeholder="用户名"  class="form-control" id="floatingInput username" placeholder="用户名">
                    <label for="floatingInput">用户名</label>
                </div>    
                <br>
                <div class="form-floating">
                    <input type="password" class="form-control" name="password" id="password floatingPassword" placeholder="密码">
                    <label for="floatingPassword">密码</label>
                  </div>    
                  <br>
                <button type="submit" id="login-button" class="btn btn-dark" style="width: 150px;height: 59px;font-size: 30px;font-family: cursive;" onclick="login()">登&nbsp;录</button>
                <div class="mt-3 fs-2" > 没有账号?&nbsp;&nbsp;<a href="/register">立即注册</a></div>
            </form>
        </div>
    </div>

    <script src="/javascripts/lib/jquery-3.3.1.min.js"></script>
    <script src="/javascripts/lib/jquery.url.js"></script>
    <script src="/javascripts/lib/jquery.url.js"></script>
    <script src="/javascripts/login.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
    integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
</script>
</body>

</html>